<!DOCTYPE html>
<?php
	session_start();
?>
<html>
	<head>
		<meta http-equiv = "content-type" content = "text/html; charset = UTF-8">
		<title>我的主页-注册</title>
		<link rel = "stylesheet" href = "base.css">
		<style>
			div#content {
				height: 319px;
				width: 1190px;
				float: left;
				
			}
			div#register {
				width: 300px;
				float: left;
			}
			div#page {
				height: 319px;
				width: 300px;
				float: left;
			}
			div#return {
				margin-left: 100px;
			}
			div#put {
				width: 520px;
				height: 120px;
				text-align: center;
				float: left; 
			}
			div#input {
				margin-left: 20px;
				float: left;
			}
			h2 {
				font-size: 18px;
			}
			legend {
				font-weight:bold; 
				font-size:14px;
			}
			fieldset
			{
				width:520px; 
				margin: 0 auto;
			}
			span {
				font-size: 10px;
				color: #666666;
			}
		</style>
	</head>
	<body class = "content">
		<div id="container">
			<div>
				<h1><img src = "image/logo.gif"  width = "150px" height = "50px"/></h1>
				<hr>
			</div>
		<div id = "content">
			<div id = "page"></div>
			<form action = "regcheck.php" method = "post">
			<div id = "register">
				<fieldset>
				<legend>用户注册</legend>
				<br/>
				<div id = "put">
				<div id = "input">用 户 名 ：<input type = "text" name = "username" ><span>(必填，3-15字符长度，支持汉字、字母、数字及_)</span></div>				
				<div id = "input">密 码 ： &nbsp;&nbsp;<input type = "password" name = "password1"><span>(必填，不得少于6位)</span></div>
				<div id = "input">重复密码：<input type = "password" name = "password2"></div>
				<div id = "input">电子邮箱：<input type = "text" name = "email"><span>(必填)</span></div>
				</div>
				<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type = "submit" name = "register" value = "注册">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset">
				<br/><br/><br/><br/>
				<div id = "return"><a href = "index.php">返回登录</a></div>
			</fieldset>
			</div>
		</form>
		</div>
		<div id="footer"><hr>Copyright © 2014 xiaolongge</div>
		</div>
	</body>
</html>